#include <iostream>

#include "Implement_bai6_01.h"

using namespace std;


Student::Student(){
	rollno = 0;
	age = 0;
	sex = 'm';
	height = 0;
	weight = 0;
}

Student::Student(int rn, int a, char s, float h, float w){
	rollno = rn;
	age = a;
	sex = s;
	height = h;
	weight = w;
}

void Student::getInfo(){
	cout<<"Roll no : "; cin>>rollno;
	cout<<"Age : "; cin>>age;
	cout<<"Sex : "; cin>>sex;
	cout<<"Height: "; cin>>height;
	cout<<"Weight : ";cin>>weight;
}

void Student::displayInfo(){
	cout<<"RollNo  -  Age  - Sex  -  Height  -  Weight "<<endl;
	cout<<rollno<<"   "
		<<setw(8)<<age<<"   "
		<<setw(4)<<sex<<"   "
		<<setw(8)<<height<<"   "
		<<setw(6)<<weight<<"   ";
}
